package demo3;

public class Bird extends Animal implements IFIying,IRunning{
    public Bird(int age, String name) {
        super(age, name);
    }

    @Override
    void eat() {
        System.out.println(name +"鸟正在吃鸟食");
    }

    @Override
    public void Flying() {
        System.out.println(name +"鸟正在飞");
    }

    @Override
    public void Running() {
        System.out.println(name +"鸟正在跑");
    }
}
